/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projekt;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author ADAM
 */
public abstract class Data 
{
    protected GetData mPobieranieDanych;
    protected List<List<String>> mData;
    protected Data(GetData mPobieranieDanych) {
        this.mPobieranieDanych = mPobieranieDanych;
    }
    public abstract void setAllData(List<List<String>> pmList);
    public abstract List<List<String>> getAllData();
    public abstract void addData(List<String> pmItem);
    public abstract List<String> getData(int pmIndex);
    public abstract int getSize();
    public abstract boolean downloadData();
}
